import { request } from "../request";

export function getCategoryList(data) {
    return request({
        url: "/apis/root-ceo-commodity/categoryApi/categoryList",
        method: "post",
        data,
    });
}

// 获取分类中的商品
export function getCategoryProduct(data) {
    return request({
        url: "/apis/root-ceo-commodity/categoryApi/commoditiesByCategory",
        method: "post",
        data,
    });
}
